/*
 * Copyright (C), 2002-2017, 苏宁易购电子商务有限公司
 * FileName: MainPushErrorConstants.java
 * Author:   17033093
 * Date:     2017年1月9日 下午3:42:19
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.suning.sawp.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * 簇管理常用异常信息
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class ModelClusterErrorConstants {

	private ModelClusterErrorConstants() {
	}

	public static final Map<String, String> MODEL_CLUSTER_ERR_MAP = new HashMap<String, String>();

	public static final String CLUSTER_ERR_PARAMS = "-1";

	public static final String CLUSTER_ERR_000 = "E000";
	public static final String CLUSTER_ERR_001 = "E001";
	public static final String CLUSTER_ERR_002 = "E002";
	public static final String CLUSTER_ERR_003 = "E003";
	public static final String CLUSTER_ERR_004 = "E004";
	public static final String CLUSTER_ERR_005 = "E005";
	public static final String CLUSTER_ERR_006 = "E006";
	public static final String CLUSTER_ERR_007 = "E007";
	public static final String CLUSTER_ERR_008 = "E008";
	public static final String CLUSTER_ERR_009 = "E009";
	
	public static final String CLUSTER_ERR_010 = "E010";
	public static final String CLUSTER_ERR_011 = "E011";
	public static final String CLUSTER_ERR_012 = "E012";
	public static final String CLUSTER_ERR_013 = "E013";
	public static final String CLUSTER_ERR_014 = "E014";
	public static final String CLUSTER_ERR_015 = "E015";

	public static final String CLUSTER_ERR_999 = "E999";

	static {
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_PARAMS, "参数错误");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_000, "文件内容为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_001, "%s数据为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_002, "%s数据格式有误,应该有%s列数据");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_003, "%s,品类编码不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_004, "%s,未获取到品类名称");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_005, "%s,品牌4位编码不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_006, "%s,未获取到品牌9位编码");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_007, "%s,品牌名称不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_008, "%s,商品编码不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_009, "%s,商品名称不可以为空");
		
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_010, "%s,簇编码不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_011, "%s,商品系列名称不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_012, "%s,商品组编码不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_013, "%s,商品组名称不可以为空");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_014, "%s,品牌9位编码位数异常");
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_015, "Excel中数据超过20000条，请拆分多个Excel导入");
		
		MODEL_CLUSTER_ERR_MAP.put(CLUSTER_ERR_999, "未知错误");
	}
}
